import 'package:flutter/material.dart';
import 'package:get/get.dart';

void zdyVipBottomTips() {
  Get.showSnackbar(
    GetSnackBar(
      title: "VIP专享服务".tr,
      message: "一次购买即可解锁🔓全部功能".tr,
      duration: const Duration(seconds: 5),
      snackPosition: SnackPosition.BOTTOM,
      backgroundColor: Colors.orange,
      margin: const EdgeInsets.all(8),
      borderRadius: 8,
 // ... 其他代码保持不变 ...

mainButton: TextButton(
  style: TextButton.styleFrom(
    backgroundColor: Colors.white,
    padding: EdgeInsets.symmetric(horizontal: 16, vertical: 8),
    shape: RoundedRectangleBorder(
      borderRadius: BorderRadius.circular(20),
    ),
  ),
  child:  Text(
    "立即开通".tr,
    style: TextStyle(
      color: Colors.orange,
      fontWeight: FontWeight.bold,
      fontSize: 16,
    ),
  ),
  onPressed: () async {
    Get.back();
    //await Get.to(() => GooglePlayNotConsumable());
  },
),

// ... 其他代码保持不变 ...

    ),
  );
}
